package zjz.graduation.backend.mapper;

import org.apache.ibatis.annotations.Mapper;
import zjz.graduation.backend.model.Cases;

import java.util.List;

@Mapper

public interface CasesDao {
    int deleteByPrimaryKey(Integer cid);

    int insert(Cases record);

    int insertSelective(Cases record);

    Cases selectByPrimaryKey(Integer cid);

    int updateByPrimaryKeySelective(Cases record);

    int updateByPrimaryKey(Cases record);

    List<Cases> selectAll();

    int updateStatusByPrimaryKey(Integer cid, Integer status);

    List<Cases> selectUnreviewd();
}